package com.dongjiantong.biz.model;
/**
 * 养殖场的栏舍信息表
 */

import com.dongjiantong.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "stables")
@Data
public class Stables extends BaseEntity {

    private static final long serialVersionUID = 4423428886132598103L;

    /**
     * 养殖场id
     */
    private Long farm_id;
    /**
     * 养殖场名称
     */
    private String farm_name;
    /**
     * 栏舍号
     */
    private String stable_number;
    /**
     * 养殖区域
     */
    private String breed_area;
    /**
     * 一级养殖类型
     */
    @Column(name = "animal_OneType")
    private Integer animal_OneType;

    @Column(name = "animal_OneName")
    private String animal_OneName;
    /**
     * 二级养殖类型
     */
    @Column(name = "animal_TwoType")
    private Integer animal_TwoType;
    @Column(name = "animal_TwoName")
    private String animal_TwoName;
    /**
     * 三级养殖类型
     */
    @Column(name = "animal_ThreeType")
    private Integer animal_ThreeType;
    @Column(name = "animal_ThreeName")
    private String animal_ThreeName;
    /**
     * 栏舍的动物数量
     */
    private Integer quantity;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date created_at;
    /**
     * 更新时间
     */
    private Date updated_at;

    @Column(name = "cow_number")
    private String cowNumber;

}